import type { RouteRecordRaw } from "vue-router";

const log: RouteRecordRaw = {
  path: "LogLayout",
  component: () => import("@/views/Log/LogLayout.vue"),
  meta: {
    title: "日志管理",
  },
  children: [
    {
      path: "Log",
      name: "Log",
      component: () => import("@/views/Log/Sub/Log.vue"),
      meta: {
        title: "登录日志",
      },
    },
    {
      path: "mistake",
      component: () => import("@/views/Log/Sub/mistake.vue"),
      meta: {
        title: "错误日志",
      },
    },
    {
      path: "behavior",
      component: () => import("@/views/Log/Sub/behavior.vue"),
      meta: {
        title: "行为日志",
      },
    },
  ],
};

export default log;
